package com.jumi.microservice.util;

import cn.hutool.core.util.StrUtil;
import com.jm.member.common.core.exception.BaseException;

/**
 * 判断
 */
public class If {

    public static void ifStr(String str,String msg){
        if(StrUtil.isEmpty(str)){
            throw new BaseException(msg);
        }
    }
}
